@charset "UTF-8";
@import "common";

//导航栏
nav{
    @include nav ;
}
//头部banner图
header{
    >.laya-banner{
        background: #2b80d9;
        .laya-banner-img{
            width: 100%;
            img{
                width: 100%;
            }
        }        
    }

}
//LayaFlash引擎部分
.LayaFlash {
    background: #fbfaf7;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeaee;
    .gg {
        background: url(../img/layaFlash-img_03.png);
        background-repeat: no-repeat;
        background-position: right 15px top 107px;
        background-size: 332px 420px;
    }
    //左边介绍部分
    .LayaFlash-msg {
        padding-bottom: 101px;
        //标题贴1000
        .layaflash-title {
            padding-left: 0;
            padding-top: 73px;
            //大标题
            p:first-of-type {
                font-size: 47px;
                font-weight: bold;
                color: #0078d7;
            }
            //第二行介绍
            p:last-of-type {
                font-size: 30px;
                color: #666666;
            }
        }
        //4个介绍
        .layaflash-introduce {
            padding-top: 53.5px;
            .introduce {
                margin-bottom: 20px;
                //左侧lgog
                .introduce-logo {
                    width: 64px;
                    height: 64px;
                    background: #0078d7;
                    border-radius: 5px;
                    text-align: center;
                    line-height: 64px;
                    -webkit-transition: transform 1s;
                    transition: transform 1s;
                    img {
                        width: 100%;
                        height: 100%;
                    }
                }
                //hover360度旋转
                .introduce-logo:hover{
                    -webkit-transform: rotate(360deg);
                    transform: rotate(360deg);
                    animation-name: bgc;
                    animation-duration: 1s;
                    animation-fill-mode: forwards;
                }
                //背景颜色变化
                @keyframes bgc{
                    0%{
                        background: #0078d7;
                    }
                    100%{
                        background: rgb(141,140,140);
                    }
                }
                //各个logo样式
                .introduce-logo-one {
                    img {
                        width: 35px;
                        height: 57px;
                    }
                }
                .introduce-logo-two {
                    padding: 0;
                    img {
                        height: 48px;
                        width: 48px;
                    }
                }
                .introduce-logo-three {
                    img {
                        height: 46px;
                        width: 38px;
                    }
                }
                .introduce-logo-four {
                    padding: 0;
                    img {
                        width: 47px;
                        height: 45px;
                    }
                }
                //右侧文字
                .introduce-msg {
                    p:first-of-type {
                        font-size: 18px;
                        color: black;
                    }
                    p:last-of-type {
                        font-size: 13px;
                        color: #666666;
                    }
                }
            }
        }
    }
}

//Layabox优势
.layabox{
    background-image: url(../img/layabox_05.png);
    background-repeat: no-repeat;
    background-position: left 196px top 182px;
    //文字部分
    .layabox-content{
        padding-top: 89px;
        padding-bottom: 89px;
        //标题
        .layabox-title{
            padding-bottom: 20px;
            p{
                font-size: 46px;
                font-weight: bold;
                color: #8fc31f;
            }
        }
        //4个介绍
        .layabox-msg{
            line-height: 54px;
            .layabox-img{
                width: 54px;
                height: 54px;
                border-radius: 54px;
                background: #8fc31f;
                text-align: center;
                line-height: 54px;
                margin-bottom: 20px;
            }
            .layabox-msg-p{
                p{
                    font-size: 14px;
                    color: #666666;
                }
            }
        }
    }
}


//layabox产品家族
.layabox-family{
    background: #0079d7;
    padding-top: 80px;
    //标题
    .family-title{
        text-align: center;
        p{
            font-size: 48px;
            color: white;
        }
    }
    //6个模块介绍
    .family-six{
        padding-top: 65px;
        padding-bottom: 80px;
        .family{
            height: 160px;
            .laya-msg{
                p:first-of-type{
                    font-size: 32px;
                    color: white;
                }
                p:last-of-type{
                    font-size: 14px;
                    color: white;
                }
            }
        }
    }
}


//Layabox游戏
.layaboxGames{
    padding-top: 84px;
    position: relative;
    padding-bottom: 44px;
    //标题
    .games-title{
        padding-bottom: 49px;
        p{
            font-size: 35px;
            color: black;
        }
    }
    //详情
    .games{
        //左边video
        .games-vedio{
            width: 330px;
            height: 200px;
            video{
                width: 100%;
                height: 100%;
            }
        }
        //右边更多游戏
        .games-more{
            .app{
                &:hover {
                        opacity: 0.5;
                }
                margin-bottom: 20px;
                text-align: center;
                p{
                    font-size: 14px;
                    margin-top: 8px;
                }
            }
        }
    }
    //更多按钮
    a{
        display: inline-block;
        position: absolute;
        right: 158px;
        top: 99px;
        text-decoration: none;
        color: black;
    }
    a:hover{
        color: #0079d7;
    }
    
}


//合作伙伴
.layaboxTeam{
    background: #f4f4f4;
    padding-top: 50px;
    padding-bottom: 50px;
    .team-title{
        padding-bottom: 32px;
        span:first-of-type{
            font-size: 30px;
        }
        span:last-of-type{
            font-size: 12px;
        }
    }
    //各个品牌
    .sup{
        .team-sup{
            border: 1px solid #dddddd;
            background: white;
            padding: 4px;
            text-align: center;
            &:hover {
                        opacity: 0.5;
                }
            img{
                width: 100%;
                height: 100%;
                display: inline-block;
                margin: 0 auto;
            }
        }
    }
}


//尾部
footer{
    @include footer;
}
